<template>
  <div class="container">Home</div>
</template>
<script setup>
// 我要获取到route参数
import { useRoute } from 'vue-router'
const route = useRoute()
console.log(route.query.a)
</script>
<style scoped></style>
